/*
 * @Description:
 * @version:
 * @Author: sunqian_sr
 * @Date: 2022-12-14 20:24:34
 * @LastEditors: Andy
 * @LastEditTime: 2023-01-13 10:06:06
 */
import i18n from '@/common/lang'
// 数据表格内数据列
export const columns = [
  {
    label: i18n.t('organization.byOrganiz.name'),
    width: 'auto',
    prop: 'orgName',
    fixed: true,
    align: 'center'
  },
  {
    label: i18n.t('organization.byOrganiz.code'),
    width: 'auto',
    prop: 'orgCode',
    fixed: true,
    align: 'center'
  },
  {
    label: i18n.t('organization.byOrganiz.toStart'),
    width: 110,
    prop: 'state',
    align: 'center'
  },
  {
    label: i18n.t('organization.byOrganiz.creatBy'),
    width: 110,
    prop: 'state',
    align: 'center'
  },
  {
    label: i18n.t('organization.byOrganiz.creatTime'),
    width: 110,
    prop: 'state',
    align: 'center'
  }
]

// 数据表格操作列
export const actions = [
  {
    key: 'edit',
    text: i18n.t('common.edit')
  },
  {
    key: 'view',
    text: i18n.t('common.view')
  },
  {
    key: 'delete',
    text: i18n.t('common.delete')
  }
]
